package com.example.myrecycleview510fzz.service;

import com.example.myrecycleview510fzz.bean.UserBean;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by 方泽洲 on 2017/5/29.
 */

public interface LoginService {
    @GET("api.php/login")
    Call<UserBean> login(@Query("username") String username,

                         @Query("password") String password);

}
